<?php

namespace addons\qingdongams\model;

use think\Exception;
use think\Model;

/**
 *  联系人购物车
 */
class PersonCart Extends Model {

	protected $name = 'qingdongams_person_cart';

    //销售
    public function parts() {
        return $this->hasOne(Parts::class, 'id', 'parts_id')->field('id,stock,name,num,img,banners,unit,price,description');
    }




}
